<?php

namespace app\common\job;
use app\common\helper\SendSmsHelper;
use think\queue\Job;
class SendSms
{
    public function sendToAdmin(Job $job,$data)
    {
        (new SendSmsHelper())->sendToAdmin($data);
        $job->delete();
    }

    public function sendToSchool(Job $job,$data)
    {
        (new SendSmsHelper())->sendToSchool($data);
        $job->delete();
    }
    
    public function getOrderList(Job $job,$data)
    {
    
    }
}